<template>
	<view class="uni-flex main" style="align-items: center;flex-direction: column;">
		<view class="uni-flex-item uni-flex" style="flex: 10;align-items: center;flex-direction: column;
		justify-content: center;margin-top: -30%;">
			<view class="uni-form-item">
				<button type="primary" plain="true" style="width: 100%;" @click="bindingExists">登录到已有的账户</button>
			</view>
			<view class="uni-form-item">
				<button type="default" plain="true" style="width: 100%;" @click="bindingNoExists">新建账户</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			bindingExists: function() {
				uni.navigateTo({
					url: 'loginExists'
				})
			},
			bindingNoExists: function() {
				uni.navigateTo({
					url: 'loginNoExists'
				})
			}
		}
	}
</script>

<style>
	page {
		height: 100%;
	}

	.with-fun {
		display: flex;
		flex-wrap: nowrap;
	}
	.with-fun .uni-icon {
		width: 40px;
		flex-shrink: 0;
		background: #FFFFFF;
	}
	.main {
		background-color: #3debfd !important;
		width: 100%;
		height: 100%;
	}
</style>
